package cn.buk.tms.dao;

import cn.buk.common.sc.CommonSearchCriteria;
import cn.buk.tms.entity.misc.FlightPriceCache;

import java.util.List;

public interface FlightPolicyDao {

    List<FlightPriceCache> getSubclassPrice(String dport, String aport, String airline);

    int createDetrTickets(int enterpriseId, List<String> tickets);

    int createFlightPriceCaches(List<FlightPriceCache> flightPriceCaches);

    List<FlightPriceCache> searchFlightPriceCache(int enterpriseId, CommonSearchCriteria sc);

    List<FlightPriceCache> searchFlightPriceCache(String dport, String aport, String carrier);
}
